package org.formal.system.entity;

import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.formal.common.base.BaseEntity;
import javax.persistence.Column;

/**
 * 生成表单消息 
 * @author jiangyan
 *
 */
@Data
@Table(name="sys_form_property")
@EqualsAndHashCode(callSuper = true)
public class FormPropertyEntity extends BaseEntity{

	private static final long serialVersionUID = -2382070380710603426L;
	/**
	 * 标签编码
	 */
	@Column(name="LABEL_NO")
	private String labelNo;

	/**
	 * ("标签名称")
	 */
	@Column(name="LABEL_NAME")
	private String labelName;

	/**
	 * ("标签数")
	 */
	@Column(name="LABEL_COL")
	private Integer labelCol;

	/**
	 * ("数据类型")
	 */
	@Column(name="DATA_TYPE")
	private String dataType;

	/**
	 * ("文本数")
	 */
	@Column(name="DATA_COL")
	private Integer dataCol;

	/**
	 * ("字段名称")
	 */
	@Column(name="FIELD_NAME")
	private String fieldName;

	/**
	 * ("数据源")
	 */
	@Column(name="URL")
	private String url;

	/**
	 * ("默认值")
	 */
	@Column(name="DEFAULT_VALUE")
	private String defaultValue;

	/**
	 * ("提示值")
	 */
	@Column(name="PLACE_HOLDER")
	private String placeholder;

	/**
	 * ("多文本行数")
	 */
	@Column(name="TEXT_LINE")
	private Integer textLine;

	/**
	 * ("关联字段")
	 */
	@Column(name="RELATION_FIELD")
	private String relationField;

}
